package com.toprs.base.query

import io.swagger.v3.oas.annotations.media.Schema
import jakarta.validation.constraints.NotBlank
import org.jetbrains.annotations.NotNull

open class BaseQuery(

    @NotNull
    @NotBlank
    @Schema(description = "页码")
    open var pageNo: Int,

    @NotNull
    @NotBlank
    @Schema(description = "每页条数")
    open var pageSize: Int = 15
)